#define M  3
#define N  M+2
#define S(N) N*N*N
#include<stdio.h>
void main()
{
    printf("%d\n",S(N));

}